package com.mlz.mlzmall.bean;

import java.util.List;

/**
 * Created by jason.zhou on 2016/2/22.
 */
public class GetProductToExchangeListResponse {
    public int status;
    public ErrorBean errors;
    public String msg;
    public PageableDto  data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public PageableDto getData() {
        return data;
    }

    public void setData(PageableDto data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ErrorBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorBean errors) {
        this.errors = errors;
    }

    public static class PageableDto {
        public int total;
        public int pageNum;
        public int size;
        public int pages;
        public List<ProductToExchangeItemDto> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<ProductToExchangeItemDto> getList() {
            return list;
        }

        public void setList(List<ProductToExchangeItemDto> list) {
            this.list = list;
        }

       public static class ProductToExchangeItemDto {
            public int productToExchangeId;
            public String dateStart;
            public String dateEnd;
            public int quantity;
            public String productName;
            public String image;
            public String barcode;
            public int pointsAmount;
            public double freight;
            public String status;

            public int getProductToExchangeId() {
                return productToExchangeId;
            }

            public void setProductToExchangeId(int productToExchangeId) {
                this.productToExchangeId = productToExchangeId;
            }

            public String getDateStart() {
                return dateStart;
            }

            public void setDateStart(String dateStart) {
                this.dateStart = dateStart;
            }

            public String getDateEnd() {
                return dateEnd;
            }

            public void setDateEnd(String dateEnd) {
                this.dateEnd = dateEnd;
            }

            public int getQuantity() {
                return quantity;
            }

            public void setQuantity(int quantity) {
                this.quantity = quantity;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getBarcode() {
                return barcode;
            }

            public void setBarcode(String barcode) {
                this.barcode = barcode;
            }

            public int getPointsAmount() {
                return pointsAmount;
            }

            public void setPointsAmount(int pointsAmount) {
                this.pointsAmount = pointsAmount;
            }

            public double getFreight() {
                return freight;
            }

            public void setFreight(double freight) {
                this.freight = freight;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }
}
